//
//  NickNameViewController.m
//  Hai
//
//  Created by gaohaojie on 16/6/17.
//  Copyright © 2016年 wangzijian. All rights reserved.
//

#import "MyStatusTXViewController.h"
#import "UpdateStatusViewController.h"
@interface MyStatusTXViewController ()
@end

@implementation MyStatusTXViewController
- (void)viewDidLoad {
    [super viewDidLoad];
    self.automaticallyAdjustsScrollViewInsets = NO;
    self.navigationController.navigationBarHidden =NO;
    self.navigationItem.title = @"帐户设置";
}
- (void)viewWillAppear:(BOOL)animated{
    [super viewDidAppear:animated];
    //    NSError *err;
    //    NSData *jsonDataInfo = [[NSUserDefaults standardUserDefaults]objectForKey:@"memberinfo"];
    //    NSDictionary *memberInfo = [NSJSONSerialization JSONObjectWithData:jsonDataInfo options:NSJSONReadingMutableContainers error:&err];
    //    self.numlable.text =[NSString stringWithFormat:@"乐钓号：%@",GetmemberNum];
    //    self.namelable.text =memberInfo[@"member_name"];
    //    NSString *headurl =memberInfo[@"member_head"];
    //    if (![headurl isEqual:[NSNull null]]) {
    //
    //        //                    [_head setImage:[Util getImageFromURL:headurl]];
    //        [_head sd_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@%@",BaseImageURL,headurl]]];
    //
    //        _head.userInteractionEnabled = YES;
    //        UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(showImage)];
    //        [_head addGestureRecognizer:tap];
    //        if (_head.image==nil) {
    //            [_head setImage:[UIImage imageNamed:@"default_head"]];
    //
    //        }
    //
}
-(IBAction)updatestatus
{
//    NSString *str = self.nickName.text;
//    NSLog(@"%@",str);
    UpdateStatusViewController *updatestatus = [[UpdateStatusViewController alloc]init];
    [self.navigationController pushViewController:updatestatus animated:YES];
}
@end
